package com.finley.flowabledemo.entity;


import com.github.f4b6a3.uuid.UuidCreator;

import java.util.UUID;

/**
 * @description:
 * @author: xianfei.chao
 * @date 2025/5/28 22:16
 * @version: 1.0
 */
public class LeaveEntity {

    private String username;

    private String reason;

    private String days;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getDays() {
        return days;
    }

    public void setDays(String days) {
        this.days = days;
    }


    public static void main(String[] args) {
        UUID timeOrdered = UuidCreator.getTimeOrdered();
        System.out.println(timeOrdered);
        String string = timeOrdered.toString().replace("-", "");
        System.out.println(string);
        UUID uuid = UUID.fromString(timeOrdered.toString());
        System.out.println(uuid);
    }
}
